package com.fan.txl.vm;

import android.databinding.ViewDataBinding;
import com.fan.txl.ui.base.BaseActivity;

/**
 * Created by os on 2017/5/5.
 * Title
 */

public abstract class ViewModel {
    ViewDataBinding mBinding;
    BaseActivity mActivity;

    public ViewModel(ViewDataBinding mBinding, BaseActivity mBaseActivity) {
        this.mBinding = mBinding;
        this.mActivity = mBaseActivity;
        bindView();
    }


    protected abstract void bindView();
    //abstract void bindModel();
}
